WeDevs\Dokan\REST\ProductAttributeController S

Total Complexity 22
Dependencies 3
Dependents 0
Total lines 263
Lines of code 134
Logical lines of code 39
Comment lines 93
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
update_product_default_attribute()
S
56 5 16
update_product_attribute()
S
56 5 16
get_product_update_collection_params()
S
46 1 47
register_routes()
S
54 1 25
get_item_permissions_check()
S
69 2 6
update_item_permissions_check()
S
69 2 6
delete_item_permissions_check()
S
69 2 6
get_items_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_product_attribute_permissions_check()
S
80 1 3
batch_items_permissions_check()
S
80 1 3